﻿using Newtonsoft.Json;

namespace ViewModel.Response;

/// <summary>
/// 绘制返回参数
/// </summary>
public class TriggerResponse
{
    /// <summary>
    /// 消息
    /// </summary>
    [JsonProperty(PropertyName = "message")]
    public string Message { get; set; } = "success";

    /// <summary>
    /// 任务id
    /// </summary>
    [JsonProperty(PropertyName = "trigger_id")]
    public string TriggerId { get; set; } = "";

    /// <summary>
    /// 任务类型
    /// </summary>
    [JsonProperty(PropertyName = "trigger_type")]
    public string TriggerType { get; set; } = "";
}